package command.strereo;

import command.Command;

/**
 * Created by lenovo on 2018/1/3.
 */
public class StereoOnWithCDCommand implements Command {

    Strereo strereo;

    public StereoOnWithCDCommand(Strereo strereo) {
        this.strereo = strereo;
    }

    @Override
    public void execute() {

        strereo.on();
        strereo.setCD();
        strereo.setVolume(11);
    }

    @Override
    public void undo() {

    }
}
